<template>
  <div>
    <!--<use-platform-config-->
    <!--  title="人脸识别"-->
    <!--  config-key="face.config.sync"-->
    <!--  @change="use_platform=$event"-->
    <!--/>-->
    <!--<page-form v-if="use_platform === 0" :x-uri="uri" :x-tabs="tabs" />-->

    <page-form :x-uri="uri" :x-tabs="tabs" />
  </div>
</template>

<script>
import PageForm from '@public/template/page_form.vue'
// import UsePlatformConfig from '@/components/use-platform-config'

export default {
  components: {
    PageForm
    // UsePlatformConfig
  },
  data() {
    return {
      uri: 'admin/system/config/face',
      tabs: [
        {
          title: '人脸识别',
          uri: '/system/config/face',
          meta: {
            permission: 'system.config.face'
          }
        }
      ],
      use_platform: 1
    }
  },
  mounted() {
    this.$store.dispatch('setLoading', 0);
  }
}
</script>
